//TTF_Font *Fonte1 = NULL;

#ifndef INTERFACE_H
#define INTERFACE_H

void Texto1(char *str, int x, int y, int r, int g, int b);

void Texto1(char *str, int x, int y, int r, int g, int b)
{
	SDL_Surface *surf;
	SDL_Rect dest;
	SDL_Color color;	

	color.r = r;
	color.g = g;
	color.b = b;

	surf = TTF_RenderText_Solid(Fonte1, str, color);

	dest.x = x;
	dest.y = y;
	dest.w = janela->w;
	dest.h = janela->h;	

	SDL_BlitSurface(surf, 0, janela, &dest);

	SDL_FreeSurface(surf);
}

#endif